<!DOCTYPE html>
<html>
<head>
  <meta charset=utf-8>
  <title>文件上传</title>
  <script src="../javascripts/config.js"></script>

</head>
<body>
  <form action="/upload" method="post" enctype="multipart/form-data">
    <div>
      <input type="file" name="file">
    </div>
    <div>
      <input type="submit" value="提交"/>
    </div>
  </form>
  <bar></bar>
  
  <button onclick="goback()">返回</button>
  <script>
    function goback(){
      // var url = config.ipv4+":"+config.port
      window.open("/","_self");
    }
  </script>
</body>
</html>